home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
m&tcga.zip
/
READ.ME
< prev
Wrap
Text File
|
1989-04-26
|
3KB
|
59 lines
Programs for use with "Graphics Programming in C"
By Roger T. Stevens
This disk contains six archived files. One of these contains all
of the files for the Hercules graphics card. If you have this
card, you need to copy `pkunzip.exe and `herc.zip to a fresh disk
and then type:
pkunzip herc.zip
to dearchive all of the Hercules programs. If you have a CGA,
EGA or VGA, you need to copy the `.zip' file for your particular
card to a fresh disk, together with `demos.zip', `source.zip', and
`pkunzip.exe' and then type;
pkunzip *.zip
to dearchive all of the programs for your adapter card. You will
find that there are files for the `gtools' and `gdraws' libraries,
for use with Turbo C and an `mcgraph' library for use with
Microsoft C. In addition are source code listings for all of the
library functions, in case you want to change them. There are
also several demonstration programs. These include the two
described in Chapter 21 of "Graphics Programming in C," namely
`demo' and `demo3d. The `cursor' program from Chapter 15, the
`quadrics' program from Chapter 18, and the `image' program from
Chapter 23 are also included. All of these programs are in the
CGA, EGA, and VGA files. The Hercules file does not contain part
of the three-dimensional demonstration program, since the shaded
figures were not implemented for that card. The `gmenu' program
is included for the CGA and EGA adapters, but not for the VGA,
since its single memory page precludes use of the window
save/restore technique.
Turbo C project files are included for each of the demonstration
programs. All you need to do to compile and run a demo program in
Turbo C is to use the Alt-P menu selection to select the project
file whose name is the same as the demo program, then load the
demo program and hit Alt-R to compile.
To compile one of the demo programs with Microsoft C, you need to
type the line:
cl demoname.c /lmcgraph.lib
where demoname.c is the name of the desired demo program. Then
run the `demoname.exe file that is created by the compiler and
linker.
*************************** NOTE *********************************
References to ARCE.EXE have been changed to PKUNZIP.EXE, and all
.ARC files have been changed to .ZIP files. PKUNZIP.EXE is not
included in the .ZIP files... download PKZ092.EXE or PKZ090.EXE
from this or other any well-managed BBS to obtain a self-extrac-
ting set of files for Phil Katz ZIP archiving program.
******************************************************************